package vidas;

import java.awt.Color;
import java.util.TreeMap;
 
public class Destino extends Base {   

    public Destino(Integer x0, Integer y0, Integer w0, Integer h0, Color c,Lienzo l){         
         super(x0, y0, w0, h0, c, l);
       
    }

 @Override
    public void colisionoCon(Movil c) {
System.out.println("auto choco con base");
     c.ingresoDestino();
 }
}